import Vue from "vue";
import Router from "vue-router";

//主页面
import Hello from "../components/Hello.vue"
import Home from "../components/Home.vue";
import Netdisc from "../components/Netdisc.vue" //网盘
import Protocol from "../components/Protocol.vue"
import Tool from "../components/Tool.vue"
import DownloadManagement from "../components/Download/DownloadManagement.vue"

import Sleep from "../components/Sleep.vue"

// 测试页面待删除
import Ceshi from "../components/ceshi.vue"

// 本地目录
import Disk from "../components/other/Disk.vue"

//百度网盘
import Baidu_Login from "../components/Baidu/Baidu_Login.vue";
import Baidu_Home from "../components/Baidu/Baidu_Home.vue";
import Files from "../components/Baidu/files.vue";
import Img from "../components/Baidu/Baidu_Img.vue";
import Doc from "../components/Baidu/Baidu_Doc.vue";
import Video from "../components/Baidu/Baidu_Video.vue";
import Seed from "../components/Baidu/Baidu_Seed.vue";
import Music from "../components/Baidu/Baidu_Music.vue";
import Other from "../components/Baidu/Baidu_Other.vue";
import Baidu_Downloading from "../components/Baidu/Baidu_Downloading.vue"
import Baidu_Upload from "../components/Baidu/Baidu_Upload.vue"

//微云网盘
import Weiyun_Home from "../components/weiyun/weiyun_Home.vue"
import Weiyun_Login from "../components/weiyun/weiyun_Login.vue"

//坚果云网盘
import Jianguo_Login from "../components/jianguo/jianguo_Login.vue"

//创意网盘
import Chuangyi_Login from "../components/chuangyi/chuangyi_Login.vue"

//比特球
import Biteqiu_Login from "../components/biteqiu/biteqiu_Login.vue"

//诚通网盘
import ChengTong_Login from "../components/other/chengtong_Login.vue"

// 小麦网盘
import xiaomai_Login from "../components/other/Xiaomai_Login.vue"

import Wenshushu_Login from "../components/other/Wenshushu_Login.vue"

//下载工具
import Downloading from "../components/Download/Downloading.vue"
import Paused from "../components/Download/Paused.vue"
import Completed from "../components/Download/Completed.vue"

//后端协议
import FTP_Home from "../components/Agreement/FTP_Home.vue"
import SMB_protocol from "../components/Agreement/SMB_protocol.vue"
import Seafile_User from "../components/Agreement/Seafile_users.vue"
// Seafile 协议

import Seafile_Menu from "../components/Seafile/Seafile_Menu.vue"
import Seafile_Login from "../components/Seafile/Seafile_Login.vue"
import Seafile_Home from "../components/Seafile/Seafile_Home.vue"
import Seafile_Home1 from "../components/Seafile/Seafile_Home1.vue"
import Seafile_Downloading from "../components/Seafile/Seafile_Downloading"
import Seafile_History from "../components/Seafile/Seafile_History"
import Seafile_Shared from "../components/Seafile/Seafile_Shared"
import Seafile_Keep from "../components/Seafile/Seafile_Keep"
import NFS_login from "../components/Agreement/NFS_Login.vue"
import NFS_Home from "../components/Agreement/NFS_Home.vue"
import SMB_Login from "../components/Agreement/SMB_Login.vue"
import SMB_Home from "../components/Agreement/SMB_Home.vue"

Vue.use(Router);

export default new Router({
	routes: [{
			path: "/",
			component: Hello,
		},
		{
			path: "*",
			redirect: "/",
		},
		{
			path: "/Ceshi",
			component: Ceshi,
		},
		{
			path: "/Home",
			component: Home,
		},
		{
			path: "/Sleep",
			component: Sleep,
		},
		{
			path: "/Netdisc",
			component: Netdisc,
		},
		{
			path: "/Protocol",
			component: Protocol,
		},
		{
			path: "/Disk",
			component: Disk,
		},
		{
			path: "/DownloadManagement",
			component: DownloadManagement,
			children: [{
					path: "/",
					component: Downloading,
				}, {
					path: "/Downloading",
					component: Downloading
				}, {
					path: "/Paused",
					component: Paused
				},
				{
					path: "/Completed",
					component: Completed
				}
			]
		},
		{
			path: "/Baidu_Login",
			component: Baidu_Login,
		},
		{
			path: "/Baidu_Home",
			component: Baidu_Home,
			children: [{
					path: "/Baidu_Login",
					component: Baidu_Login,
				},
				{
					path: "/",
					component: Files,
				},
				{
					path: "/Files",
					component: Files,
				},
				{
					path: "/Img",
					component: Img,
				},
				{
					path: "/Doc",
					component: Doc,
				},
				{
					path: "/Video",
					component: Video,
				},
				{
					path: "/Seed",
					component: Seed,
				},
				{
					path: "/Music",
					component: Music,
				},
				{
					path: "/Other",
					component: Other,
				},
				{
					path: "/Baidu_Downloading",
					component: Baidu_Downloading
				},
				{
					path: "/Baidu_Upload",
					component: Baidu_Upload
				}
			],
		},
		
		//坚果云网盘
		{
			path: "/Jianguo_Login",
			component: Jianguo_Login,
		},
		
		//创意网盘
		{
			path: "/Chuangyi_Login",
			component: Chuangyi_Login,
		},
		
		//比特球网盘
		{
			path: "/Biteqiu_Login",
			component: Biteqiu_Login,
		},
		//诚通网盘
		{
			path: "/ChengTong_Login",
			component: ChengTong_Login,
		},
		//小麦网盘
		{
			path: "/xiaomai_Login",
			component: xiaomai_Login,
		},
		//文叔叔
		{
			path: "/Wenshushu_Login",
			component: Wenshushu_Login,
		},
		
		//微云
		{
			path: "/Weiyun_Home",
			component: Weiyun_Home,
		},
		{
			path: "/Weiyun_Login",
			component: Weiyun_Login,
		},

		// 后端协议
		{
			path: "/FTP_Home",
			component: FTP_Home,
		},
		{
			path: "/SMB_protocol",
			component: SMB_protocol,
		},
		{
			path: "/SMB_Login",
			component: SMB_Login,
		},
		{
			path: "/SMB_Home",
			component: SMB_Home,
		},
		{
			path: "/NFS_login",
			component: NFS_login,
		},
		{
			path: "/NFS_Home",
			component: NFS_Home,
		},
		{
			path: "/Seafile_Login",
			component: Seafile_Login,
		},
		{
			path: "/Seafile_User",
			component: Seafile_User,
		},
		{
			path: "/Seafile_Menu",
			component: Seafile_Menu,
			children: [
				{
					path: "/Seafile_Home",
					component: Seafile_Home,
				},
				{
					path: "/Seafile_Home1",
					component: Seafile_Home1,
				},
				{
					path:"/Seafile_Downloading",
					component: Seafile_Downloading
				},
				{
					path:"/Seafile_History",
					component:Seafile_History
				},
				{
					path:"/Seafile_Shared",
					component:Seafile_Shared
				},
				{
					path:"/Seafile_Keep",
					component:Seafile_Keep
				}
			]
		}
	],
});
